﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Empires.CRL.DataContract;
using Empires.BLL.Core.IService;
using Empires.BLL.Core.Implement;

namespace Empires.PL.ServiceClient
{
    public static class CompanyManagementServiceClient
    {
        public static BaseConfigDataPack CompanyManagementService(string copname)
        {
            ICompanyManagementService service = new CompanyManagementService();
            return service.GetBaseConfigModel(copname);
        }

        public static bool UpdateBaseConfig(string copname, BaseConfigDataPack model)
        {
            ICompanyManagementService service = new CompanyManagementService();
            return service.UpdateBaseConfig(copname, model);
        }
    }
}
